#ifndef HSE_UTIL_COMMON_H
#define HSE_UTIL_COMMON_H

#include <stdio.h>
#include <stdlib.h>

namespace hse {
namespace util {


#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
				TypeName(const TypeName&); \
				void operator=(const TypeName&)
#define DELETE(x) \
				delete x; \
				x = NULL
#define DELETE_ARRAY(x)		\
				delete[] x; \
				x = NULL

#define SUCCESS 1
#define FAIL    0

template<class T1, class T2, class T3>
struct triple {
	T1 first;
	T2 second;
	T3 third;
};

} //end of namespace util
} //end of namespace hse

#endif